# coding: utf-8
from . import db


class SsoUser(db.Model):
    __tablename__ = 'order'

    autoID = db.Column(db.BigInteger, primary_key=True)
    orderID = db.Column(db.String(22))
    userID = db.Column(db.String(255, 'utf8mb4_0900_ai_ci'))
    thingID = db.Column(db.String(255, 'utf8mb4_0900_ai_ci'))
    isdelete = db.Column(db.Integer)
    addTime = db.Column(db.DateTime, server_default=db.FetchedValue(), info='记录添加时间')
